<?php
class Accountmanager_Data_Getpagecomments implements Accountmanager_Data_Mainable{
    
    private $core_controller_selectdata;
    
    public function __construct() {
        $this->core_controller_selectdata = new Core_Controller_Selectdata;
    }
    
    public function main(array $variables = null){
        $variables['query'] = "SELECT id, creation_date, page_name, status_name, comment_text FROM page_comments WHERE username='".$variables['session']['username']."';";
        return $this->core_controller_selectdata->main($variables);
    }
}
